Learn R Programming

bioRad (version 0.5.1)

[.ppi: Subset a plan position indicator (ppi)

Description

Select quantities by index from a ppi

Usage

# S3 method for ppi
[(x, i)

Arguments

x

An object of class param or scan.

i

Indices specifying elements to extract.

Examples

Run this code
# NOT RUN {
# make a ppi:
my_ppi <- project_as_ppi(example_scan)

# this ppi contains 5 quantities (VRADH DBZH ZDR RHOHV PHIDP):
my_ppi

# This ppi only contains the first quantity (VRADH):
my_ppi[1]

# This ppi contains the first three quantities (VRADH, DBZH, ZDR):
my_ppi[1:3]
# }

Run the code above in your browser using DataLab